package main.ykt;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;

@Repository
public interface YktCountryMajorDao extends JpaRepository<YktCountryMajorInfo,Integer> , JpaSpecificationExecutor<YktCountryMajorInfo> {
    List<YktCountryMajorInfo> findAllByThelevelNotIn(Set<Integer> s);
    List<YktCountryMajorInfo> findAllByParentid(Integer id);
}
